package com.example.gladiadores;

import android.content.Context;
import android.graphics.Color;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;

 

class tipoLetra<T> extends ArrayAdapter<T>
{
    public tipoLetra(Context ctx, T [] objects)
    {
        super(ctx, android.R.layout.simple_spinner_item, objects);
    }

    @Override
    public View getDropDownView(int position, View convertView, ViewGroup parent)
    {
        	View view = super.getView(position, convertView, parent);
            TextView text = (TextView)view.findViewById(android.R.id.text1);
            text.setTextColor(Color.BLACK);         
            text.setTextSize(20);

        return view;

    }
}
